Name : perl-Test-Manifest
| |
Version : 1.14
| Vendor : Mandriva
|
Release : 2mdk
| Date : 2006-04-03 12:12:42
|
Group : Development/Perl
| Source RPM : perl-Test-Manifest-1.14-2mdk.src.rpm
|
Size : 0.01 MB
| |
Packager : Buchan Milne < bgmilne_mandriva_org>
| |
Summary : Test::Manifest - interact with a t/test_manifest file
|
Description :
Test::Harness assumes that you want to run all of the .t files in the t/ directory in ascii-betical order during make test unless you say otherwise. This leads to some interesting naming schemes for test files to get them in the desired order. This interesting names ossify when they get into source control, and get even more interesting as more tests show up.
Test::Manifest overrides the default behaviour by replacing the test_via_harness target in the Makefile. Instead of running at the t/*.t files in ascii-betical order, it looks in the t/test_manifest file to find out which tests you want to run and the order in which you want to run them. It constructs the right value for MakeMaker to do the right thing.
In t/test_manifest, simply list the tests that you want to run. Their order in the file is the order in which they run. You can comment lines with a #, just like in Perl, and Test::Manifest will strip leading and trailing whitespace from each line. It also checks that the specified file is actually in the t/ directory. If the file does not exist, it does not put its name in the list of test files to run.
Optionally, you can add a number after the test name in test_manifest to define sets of tests. See get_t_files() for more information.
|
RPM found in directory: /vol/rzm6/linux-mandriva/official/2007.0/i586/media/main/release |